﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KCMS.DataAcsess.Entitys
{
    public partial class ContactEntity:Entity
    {
        public void CopyPropyties(ContactEntity contact)
        {
            this.Id = contact.Id;
            this.Title = contact.Title;
            this.Locality = contact.Locality;
            this.PostalCode = contact.PostalCode;
            this.Street = contact.Street;
            this.Phone = contact.Phone;
            this.Email = contact.Email;
            this.EmailFeedback = contact.EmailFeedback;
            this.Fax = contact.Fax;
            this.MobilePhone = contact.MobilePhone;
            this.Name = contact.Name;
            this.Code = contact.Code;
            this.YandexMap = contact.YandexMap;
            this.Skype = contact.Skype;
        }
    }
}
